package com.bcqn.dao;

import com.bcqn.model.ForumType;
import com.bcqn.vo.ForumTypeQueryVo;
import com.bcqn.vo.ForumTypeVo;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface ForumTypeMapper {
    int deleteByPrimaryKey(Long id);

    int insert(ForumType record);

    int insertSelective(ForumType record);

    ForumType selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(ForumType record);

    int updateByPrimaryKey(ForumType record);

    /**
     * 查询圈子类型
     * @param forumTypeQueryVo
     * @return
     */
    List<ForumTypeVo> getList(ForumTypeQueryVo forumTypeQueryVo);
}